
import Router from "next/router";
import NProgress from "nprogress";
import "../styles/nprogress.css";
import '../styles/globals.css'
Router.onRouteChangeStart = () => {
  NProgress.start();
};
Router.onRouteChangeComplete = () => NProgress.done();
Router.onRouteChangeError = () => NProgress.done();
function MyApp({ Component, pageProps }) {
  return <Component {...pageProps} />
}

export default MyApp
